﻿using nblTool.utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebFirst.Entities;

namespace Jn698._45GWTool.Services
{
    public class EditRecordListService
    {
        public List<EditRecordList> Select(int total)
        {
            return SqlSugarHelper.Db.Queryable<EditRecordList>().Take(total).ToList();
        }

        public int Update(EditRecordList editRecordList)
        {
            return SqlSugarHelper.Db.Updateable(editRecordList).ExecuteCommand();
        }
    }
}
